package com.miyake.dsp.osa;

public class ExtractTrace {
	private double[] x;
	private double[] y;
	public ExtractTrace(double[] x, double[] y, int iStart,
			int iStop) {
		this.x = new double[iStop - iStart];
		this.y = new double[this.x.length];
		try {
			for (int i = 0; i < this.x.length; i++) {
				this.x[i] = x[i + iStart];
				this.y[i] = y[i + iStart];
			}
		}
		catch (Exception e) {
			LogTrace.writeLog(e.toString());
		}
	}
	public double[] getX() {
		return x;
	}
	public double[] getY() {
		return y;
	}

	
}
